package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 劳动合同表
* </p>
*
* @author wsl
* @since 2022-04-24
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("labour_contract")
@ApiModel(value = "LabourContract对象", description = "劳动合同表")
public class LabourContract implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("流程编号")
    private String processId;

    @ApiModelProperty("合同起始日期")
    private LocalDate startDate;

    @ApiModelProperty("合同结束日期")
    private LocalDate endDate;

    @ApiModelProperty("有无固定期限（0无固定期限、1有固定期、2、以完成一定工作为期限）")
    private Integer type;

    @ApiModelProperty("有无试用期")
    private Integer hasProbation;

    @ApiModelProperty("使用期开始时间")
    private LocalDate probationStartDate;

    @ApiModelProperty("试用期结束时间")
    private LocalDate probationEndDate;

    @ApiModelProperty("岗位编号")
    private Integer prositionId;

    @ApiModelProperty("简历编号")
    private Integer resumeId;

    @ApiModelProperty("简历详情编号")
    private Integer resumeClassId;

    @ApiModelProperty("工作任务")
    private String task;

    @ApiModelProperty("月工资")
    private BigDecimal monthWage;

    @ApiModelProperty("试用期月工资")
    private BigDecimal probationMonthWage;

    @ApiModelProperty("当前状态")
    private Integer status;

    @ApiModelProperty("合同原件")
    private String originContract;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;


}
